<%@ page import="com.dbb.entity.ColorSize" %>



<div class="fieldcontain ${hasErrors(bean: colorSizeInstance, field: 'color', 'error')} required">
	<label for="color">
		<g:message code="colorSize.color.label" default="Color" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="color" name="color.id" from="${com.dbb.entity.Color.list()}" optionKey="id" required="" value="${colorSizeInstance?.color?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: colorSizeInstance, field: 'num', 'error')} required">
	<label for="num">
		<g:message code="colorSize.num.label" default="Num" />
		<span class="required-indicator">*</span>
	</label>
	<g:field name="num" type="number" value="${colorSizeInstance.num}" required=""/>
</div>

<div class="fieldcontain ${hasErrors(bean: colorSizeInstance, field: 'size', 'error')} required">
	<label for="size">
		<g:message code="colorSize.size.label" default="Size" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="size" name="size.id" from="${com.dbb.entity.Size.list()}" optionKey="id" required="" value="${colorSizeInstance?.size?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: colorSizeInstance, field: 'suit', 'error')} required">
	<label for="suit">
		<g:message code="colorSize.suit.label" default="Suit" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="suit" name="suit.id" from="${com.dbb.entity.Suit.list()}" optionKey="id" required="" value="${colorSizeInstance?.suit?.id}" class="many-to-one"/>
</div>

